package com.buercorp.wangyu.common;

import javax.naming.Name;

public class StudentObjText {
    public static void main(String[] args) {
        // 创建对象
        // 调用空参对象
        StudentObj st = new StudentObj();
        StudentObj st2 = new StudentObj("xiao",18);
        System.out.println(st2.getName());
        System.out.println(st2.getAge());

    }
}
